<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="articleGroupInfoList" checkbox="true" fitColumns="false" title="版块信息表" actionUrl="articleGroupInfoController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="区域"  field="areaId"   hidden="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="区域"  field="areaName"    queryMode="single"  width="120" query="true"></t:dgCol>
   <t:dgCol title="版块名"  field="articleGroupName"    queryMode="single"  width="120" query="true"></t:dgCol>
   <t:dgCol title="版主"  field="articleGroupManage"    queryMode="single"  width="120" query="true"></t:dgCol>
   <t:dgCol title="版块主题数"  field="themeNum"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="排名"  field="ranking"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="收藏本版数"  field="collectNum"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="版块备注"  field="remark"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建时间"  field="createTime" formatter="yyyy-MM-dd hh:mm:ss"   queryMode="single"  width="125"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="articleGroupInfoController.do?doDel&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="articleGroupInfoController.do?goAdd" funname="add"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="articleGroupInfoController.do?goUpdate" funname="update"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="articleGroupInfoController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="articleGroupInfoController.do?goUpdate" funname="detail"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>
 <script src = "webpage/com/buss/articlegroup/articleGroupInfoList.js"></script>		
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 			$("#articleGroupInfoListtb").find("input[name='createTime']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'articleGroupInfoController.do?upload', "articleGroupInfoList");
}

//导出
function ExportXls() {
	JeecgExcelExport("articleGroupInfoController.do?exportXls","articleGroupInfoList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("articleGroupInfoController.do?exportXlsByT","articleGroupInfoList");
}
 </script>